-
Home
-
Payment gateway: accept.blue for WooCommerce
-
1.5.2
-
Code
-
Classes
- Surcharge
Total Complexity |
41 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
312 |
Lines of code |
223 |
Logical lines of code |
128 |
Comment lines |
20 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_surcharge() |
A |
41 |
11 |
56 |
update_surcharge() |
A |
47 |
8 |
37 |
get_credit_card_token_ids() |
S |
54 |
4 |
21 |
get_surcharge_notification() |
S |
55 |
3 |
21 |
is_checkout() |
S |
66 |
4 |
8 |
add_surcharge_settings() |
S |
48 |
1 |
37 |
enqueue_scripts() |
S |
62 |
3 |
10 |
create_notification() |
S |
63 |
3 |
10 |
get_calculated_surcharge_amount() |
S |
67 |
2 |
8 |
__construct() |
S |
63 |
1 |
10 |
calculate_percentage_surcharge() |
S |
73 |
1 |
5 |